﻿using System;

namespace PMngr.Data
{
    public class User
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string EncryptPwd { get; set; }
        public DateTime CreateDate { get; set; }
        public bool IsValid { get; set; }
        public int Role { get; set; }

        public User()
        {
            IsValid = true;
            CreateDate = DateTime.Now;
        }
    }
}
